package com.ljf.order.util;

import java.util.Random;

/**
 * @Author: Ljf
 * @Date : 2019/2/1 0:33
 * @Description :
 */
public class PrimaryKeyUtil {
    public static synchronized String genUniqueKey(){
        Random random=new Random();
        Integer number = random.nextInt(90000) + 10000;
        return System.currentTimeMillis()+String.valueOf(number);
    }
}
